﻿using GraphQL.Types;
using NetCore_GraphQL.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GraphQL.Authorization;

namespace NetCore_GraphQL.GraphType
{
    public class SysInfoType : ObjectGraphType<SysInfo>
    {
        public SysInfoType( )
        {
            Name = "sysInfoType";
            Description = "系统查询";
            Field(x => x.SysId).Description("");
            Field(x => x.SysName).Description("系统名称");
            Field(x => x.HostName).Description("主机名称");
        }
    }
}
